package com.mcf.xiaolinju.service.impl;

import com.mcf.xiaolinju.entity.Classify;
import com.mcf.xiaolinju.mapper.ClassifyMapper;
import com.mcf.xiaolinju.service.IClassifyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author mcf
 * @since 2022-02-26
 */
@Service
public class ClassifyServiceImpl extends ServiceImpl<ClassifyMapper, Classify> implements IClassifyService {
   @Resource
   ClassifyMapper classifyMapper;
   //查询分类
    public List<Classify> getall() {
        return  classifyMapper.getall();
    }
}
